package com.lanou.myapplication.entity;

import java.util.List;

/**
 * Created by dllo on 15/10/28.
 */
public class ToplineDetail {
    private String title;
    private String body;
    private String source;
    private String ptime;
    private List<Img> img;


    public ToplineDetail(List<Img> img, String title, String source, String body, String ptime ) {
        this.img = img;
        this.title = title;
        this.source = source;
        this.body = body;
        this.ptime = ptime;

    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getPtime() {
        return ptime;
    }

    public void setPtime(String ptime) {
        this.ptime = ptime;
    }

    public List<Img> getImg() {
        return img;
    }

    public void setImg(List<Img> img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "ToplineDetail{" +
                "title='" + title + '\'' +
                ", body='" + body + '\'' +
                ", sourse='" + source + '\'' +
                ", ptime='" + ptime + '\'' +
                ", img=" + img +
                '}';
    }
}
